﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-39155502-5"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
  
      gtag('config', 'UA-39155502-5');
    </script>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class Watcher&lt;T&gt;
   | MongoDB.Entities </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class Watcher&lt;T&gt;
   | MongoDB.Entities ">
    <meta name="generator" content="docfx 2.58.0.0">
    <meta name="description" content="A data access library for MongoDB with an elegant api, LINQ support and built-in entity relationship management.">
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    <meta property="docfx:newtab" content="true">
    <meta property="og:title" content="MongoDB.Entities">
    <meta property="og:site_name" content="MongoDB.Entities">
    <meta property="og:url" content="https://mongodb-entities.com">
    <meta property="og:description" content="A data access library for MongoDB with an elegant api, LINQ support and built-in entity relationship management,">
    <meta property="og:type" content="website">
    <meta property="og:image" content="https://mongodb-entities.com/images/social-square.png">  
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/icon.png" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list">Search Results for <span></span></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="MongoDB.Entities.Watcher`1">
  
  
  <h1 id="MongoDB_Entities_Watcher_1" data-uid="MongoDB.Entities.Watcher`1" class="text-break">Class Watcher&lt;T&gt;
  </h1>
  <div class="markdown level0 summary"><p>Watcher for subscribing to mongodb change streams.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">Watcher&lt;T&gt;</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="MongoDB.Entities.html">MongoDB.Entities</a></h6>
  <h6><strong>Assembly</strong>: MongoDB.Entities.dll</h6>
  <h5 id="MongoDB_Entities_Watcher_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Watcher&lt;T&gt;

    where T : IEntity</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>The type of entity</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  
  
  <a id="MongoDB_Entities_Watcher_1_CanRestart_" data-uid="MongoDB.Entities.Watcher`1.CanRestart*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_CanRestart" data-uid="MongoDB.Entities.Watcher`1.CanRestart">CanRestart</h4>
  <div class="markdown level1 summary"><p>Returns true if watching can be restarted if it was stopped due to an error or invalidate event.
Will always return false after cancellation is requested via the cancellation token.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool CanRestart { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_IsInitialized_" data-uid="MongoDB.Entities.Watcher`1.IsInitialized*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_IsInitialized" data-uid="MongoDB.Entities.Watcher`1.IsInitialized">IsInitialized</h4>
  <div class="markdown level1 summary"><p>Indicates whether this watcher has already been initialized or not.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool IsInitialized { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_Name_" data-uid="MongoDB.Entities.Watcher`1.Name*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_Name" data-uid="MongoDB.Entities.Watcher`1.Name">Name</h4>
  <div class="markdown level1 summary"><p>The name of this watcher instance</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string Name { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_ResumeToken_" data-uid="MongoDB.Entities.Watcher`1.ResumeToken*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_ResumeToken" data-uid="MongoDB.Entities.Watcher`1.ResumeToken">ResumeToken</h4>
  <div class="markdown level1 summary"><p>The last resume token received from mongodb server. Can be used to resume watching with .StartWithToken() method.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public BsonDocument ResumeToken { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">MongoDB.Bson.BsonDocument</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="MongoDB_Entities_Watcher_1_ReStart_" data-uid="MongoDB.Entities.Watcher`1.ReStart*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_ReStart_MongoDB_Bson_BsonDocument_" data-uid="MongoDB.Entities.Watcher`1.ReStart(MongoDB.Bson.BsonDocument)">ReStart(BsonDocument)</h4>
  <div class="markdown level1 summary"><p>If the watcher stopped due to an error or invalidate event, you can try to restart the watching again with this method.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ReStart(BsonDocument resumeToken = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">MongoDB.Bson.BsonDocument</span></td>
        <td><span class="parametername">resumeToken</span></td>
        <td><p>An optional resume token to restart watching with</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_Start_" data-uid="MongoDB.Entities.Watcher`1.Start*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_Start_MongoDB_Entities_EventType_System_Func_MongoDB_Driver_FilterDefinitionBuilder_MongoDB_Driver_ChangeStreamDocument__0___MongoDB_Driver_FilterDefinition_MongoDB_Driver_ChangeStreamDocument__0____System_Int32_System_Boolean_System_Boolean_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.Start(MongoDB.Entities.EventType,System.Func{MongoDB.Driver.FilterDefinitionBuilder{MongoDB.Driver.ChangeStreamDocument{`0}},MongoDB.Driver.FilterDefinition{MongoDB.Driver.ChangeStreamDocument{`0}}},System.Int32,System.Boolean,System.Boolean,System.Threading.CancellationToken)">Start(EventType, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt;, Int32, Boolean, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied parameters</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Start(EventType eventTypes, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt; filter, int batchSize = 25, bool onlyGetIDs = false, bool autoResume = true, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.FilterDefinitionBuilder</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;, <span class="xref">MongoDB.Driver.FilterDefinition</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>b =&gt; b.Eq(d =&gt; d.FullDocument.Prop1, &quot;value&quot;)</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">onlyGetIDs</span></td>
        <td><p>Set to true if you don't want the complete entity details. All properties except the ID will then be null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">autoResume</span></td>
        <td><p>Set to false if you'd like to skip the changes that happened while the watching was stopped. This will also make you unable to retrieve a ResumeToken.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_Start_" data-uid="MongoDB.Entities.Watcher`1.Start*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_Start_MongoDB_Entities_EventType_System_Linq_Expressions_Expression_System_Func__0__0___System_Func_MongoDB_Driver_FilterDefinitionBuilder_MongoDB_Driver_ChangeStreamDocument__0___MongoDB_Driver_FilterDefinition_MongoDB_Driver_ChangeStreamDocument__0____System_Int32_System_Boolean_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.Start(MongoDB.Entities.EventType,System.Linq.Expressions.Expression{System.Func{`0,`0}},System.Func{MongoDB.Driver.FilterDefinitionBuilder{MongoDB.Driver.ChangeStreamDocument{`0}},MongoDB.Driver.FilterDefinition{MongoDB.Driver.ChangeStreamDocument{`0}}},System.Int32,System.Boolean,System.Threading.CancellationToken)">Start(EventType, Expression&lt;Func&lt;T, T&gt;&gt;, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt;, Int32, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied parameters. Supports projection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Start(EventType eventTypes, Expression&lt;Func&lt;T, T&gt;&gt; projection, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt; filter, int batchSize = 25, bool autoResume = true, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T, T&gt;&gt;</td>
        <td><span class="parametername">projection</span></td>
        <td><p>A projection expression for the entity</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.FilterDefinitionBuilder</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;, <span class="xref">MongoDB.Driver.FilterDefinition</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>b =&gt; b.Eq(d =&gt; d.FullDocument.Prop1, &quot;value&quot;)</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">autoResume</span></td>
        <td><p>Set to false if you'd like to skip the changes that happened while the watching was stopped. This will also make you unable to retrieve a ResumeToken.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_Start_" data-uid="MongoDB.Entities.Watcher`1.Start*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_Start_MongoDB_Entities_EventType_System_Linq_Expressions_Expression_System_Func__0__0___System_Linq_Expressions_Expression_System_Func_MongoDB_Driver_ChangeStreamDocument__0__System_Boolean___System_Int32_System_Boolean_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.Start(MongoDB.Entities.EventType,System.Linq.Expressions.Expression{System.Func{`0,`0}},System.Linq.Expressions.Expression{System.Func{MongoDB.Driver.ChangeStreamDocument{`0},System.Boolean}},System.Int32,System.Boolean,System.Threading.CancellationToken)">Start(EventType, Expression&lt;Func&lt;T, T&gt;&gt;, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, Boolean&gt;&gt;, Int32, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied parameters. Supports projection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Start(EventType eventTypes, Expression&lt;Func&lt;T, T&gt;&gt; projection, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, bool&gt;&gt; filter = null, int batchSize = 25, bool autoResume = true, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T, T&gt;&gt;</td>
        <td><span class="parametername">projection</span></td>
        <td><p>A projection expression for the entity</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>x =&gt; x.FullDocument.Prop1 == &quot;SomeValue&quot;</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">autoResume</span></td>
        <td><p>Set to false if you'd like to skip the changes that happened while the watching was stopped. This will also make you unable to retrieve a ResumeToken.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_Start_" data-uid="MongoDB.Entities.Watcher`1.Start*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_Start_MongoDB_Entities_EventType_System_Linq_Expressions_Expression_System_Func_MongoDB_Driver_ChangeStreamDocument__0__System_Boolean___System_Int32_System_Boolean_System_Boolean_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.Start(MongoDB.Entities.EventType,System.Linq.Expressions.Expression{System.Func{MongoDB.Driver.ChangeStreamDocument{`0},System.Boolean}},System.Int32,System.Boolean,System.Boolean,System.Threading.CancellationToken)">Start(EventType, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, Boolean&gt;&gt;, Int32, Boolean, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied parameters</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Start(EventType eventTypes, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, bool&gt;&gt; filter = null, int batchSize = 25, bool onlyGetIDs = false, bool autoResume = true, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>x =&gt; x.FullDocument.Prop1 == &quot;SomeValue&quot;</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">onlyGetIDs</span></td>
        <td><p>Set to true if you don't want the complete entity details. All properties except the ID will then be null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">autoResume</span></td>
        <td><p>Set to false if you'd like to skip the changes that happened while the watching was stopped. This will also make you unable to retrieve a ResumeToken.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_StartWithToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_StartWithToken_MongoDB_Bson_BsonDocument_MongoDB_Entities_EventType_System_Func_MongoDB_Driver_FilterDefinitionBuilder_MongoDB_Driver_ChangeStreamDocument__0___MongoDB_Driver_FilterDefinition_MongoDB_Driver_ChangeStreamDocument__0____System_Int32_System_Boolean_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken(MongoDB.Bson.BsonDocument,MongoDB.Entities.EventType,System.Func{MongoDB.Driver.FilterDefinitionBuilder{MongoDB.Driver.ChangeStreamDocument{`0}},MongoDB.Driver.FilterDefinition{MongoDB.Driver.ChangeStreamDocument{`0}}},System.Int32,System.Boolean,System.Threading.CancellationToken)">StartWithToken(BsonDocument, EventType, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt;, Int32, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied configuration</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void StartWithToken(BsonDocument resumeToken, EventType eventTypes, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt; filter, int batchSize = 25, bool onlyGetIDs = false, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">MongoDB.Bson.BsonDocument</span></td>
        <td><span class="parametername">resumeToken</span></td>
        <td><p>A resume token to start receiving changes after some point back in time</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.FilterDefinitionBuilder</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;, <span class="xref">MongoDB.Driver.FilterDefinition</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>b =&gt; b.Eq(d =&gt; d.FullDocument.Prop1, &quot;value&quot;)</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">onlyGetIDs</span></td>
        <td><p>Set to true if you don't want the complete entity details. All properties except the ID will then be null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_StartWithToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_StartWithToken_MongoDB_Bson_BsonDocument_MongoDB_Entities_EventType_System_Linq_Expressions_Expression_System_Func__0__0___System_Func_MongoDB_Driver_FilterDefinitionBuilder_MongoDB_Driver_ChangeStreamDocument__0___MongoDB_Driver_FilterDefinition_MongoDB_Driver_ChangeStreamDocument__0____System_Int32_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken(MongoDB.Bson.BsonDocument,MongoDB.Entities.EventType,System.Linq.Expressions.Expression{System.Func{`0,`0}},System.Func{MongoDB.Driver.FilterDefinitionBuilder{MongoDB.Driver.ChangeStreamDocument{`0}},MongoDB.Driver.FilterDefinition{MongoDB.Driver.ChangeStreamDocument{`0}}},System.Int32,System.Threading.CancellationToken)">StartWithToken(BsonDocument, EventType, Expression&lt;Func&lt;T, T&gt;&gt;, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt;, Int32, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied configuration. Supports projection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void StartWithToken(BsonDocument resumeToken, EventType eventTypes, Expression&lt;Func&lt;T, T&gt;&gt; projection, Func&lt;FilterDefinitionBuilder&lt;ChangeStreamDocument&lt;T&gt;&gt;, FilterDefinition&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt; filter, int batchSize = 25, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">MongoDB.Bson.BsonDocument</span></td>
        <td><span class="parametername">resumeToken</span></td>
        <td><p>A resume token to start receiving changes after some point back in time</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T, T&gt;&gt;</td>
        <td><span class="parametername">projection</span></td>
        <td><p>A projection expression for the entity</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.FilterDefinitionBuilder</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;, <span class="xref">MongoDB.Driver.FilterDefinition</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>b =&gt; b.Eq(d =&gt; d.FullDocument.Prop1, &quot;value&quot;)</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_StartWithToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_StartWithToken_MongoDB_Bson_BsonDocument_MongoDB_Entities_EventType_System_Linq_Expressions_Expression_System_Func__0__0___System_Linq_Expressions_Expression_System_Func_MongoDB_Driver_ChangeStreamDocument__0__System_Boolean___System_Int32_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken(MongoDB.Bson.BsonDocument,MongoDB.Entities.EventType,System.Linq.Expressions.Expression{System.Func{`0,`0}},System.Linq.Expressions.Expression{System.Func{MongoDB.Driver.ChangeStreamDocument{`0},System.Boolean}},System.Int32,System.Threading.CancellationToken)">StartWithToken(BsonDocument, EventType, Expression&lt;Func&lt;T, T&gt;&gt;, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, Boolean&gt;&gt;, Int32, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied configuration. Supports projection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void StartWithToken(BsonDocument resumeToken, EventType eventTypes, Expression&lt;Func&lt;T, T&gt;&gt; projection, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, bool&gt;&gt; filter = null, int batchSize = 25, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">MongoDB.Bson.BsonDocument</span></td>
        <td><span class="parametername">resumeToken</span></td>
        <td><p>A resume token to start receiving changes after some point back in time</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;T, T&gt;&gt;</td>
        <td><span class="parametername">projection</span></td>
        <td><p>A projection expression for the entity</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>x =&gt; x.FullDocument.Prop1 == &quot;SomeValue&quot;</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MongoDB_Entities_Watcher_1_StartWithToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken*"></a>
  <h4 id="MongoDB_Entities_Watcher_1_StartWithToken_MongoDB_Bson_BsonDocument_MongoDB_Entities_EventType_System_Linq_Expressions_Expression_System_Func_MongoDB_Driver_ChangeStreamDocument__0__System_Boolean___System_Int32_System_Boolean_System_Threading_CancellationToken_" data-uid="MongoDB.Entities.Watcher`1.StartWithToken(MongoDB.Bson.BsonDocument,MongoDB.Entities.EventType,System.Linq.Expressions.Expression{System.Func{MongoDB.Driver.ChangeStreamDocument{`0},System.Boolean}},System.Int32,System.Boolean,System.Threading.CancellationToken)">StartWithToken(BsonDocument, EventType, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, Boolean&gt;&gt;, Int32, Boolean, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Starts the watcher instance with the supplied configuration</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void StartWithToken(BsonDocument resumeToken, EventType eventTypes, Expression&lt;Func&lt;ChangeStreamDocument&lt;T&gt;, bool&gt;&gt; filter = null, int batchSize = 25, bool onlyGetIDs = false, CancellationToken cancellation = default(CancellationToken))</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">MongoDB.Bson.BsonDocument</span></td>
        <td><span class="parametername">resumeToken</span></td>
        <td><p>A resume token to start receiving changes after some point back in time</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.EventType.html">EventType</a></td>
        <td><span class="parametername">eventTypes</span></td>
        <td><p>Type of event to watch for. Specify multiple like: EventType.Created | EventType.Updated | EventType.Deleted</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Linq.Expressions.Expression</span>&lt;<span class="xref">System.Func</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;, <span class="xref">System.Boolean</span>&gt;&gt;</td>
        <td><span class="parametername">filter</span></td>
        <td><p>x =&gt; x.FullDocument.Prop1 == &quot;SomeValue&quot;</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">batchSize</span></td>
        <td><p>The max number of entities to receive for a single event occurence</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">onlyGetIDs</span></td>
        <td><p>Set to true if you don't want the complete entity details. All properties except the ID will then be null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Threading.CancellationToken</span></td>
        <td><span class="parametername">cancellation</span></td>
        <td><p>A cancellation token for ending the watching/change stream</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
  </h3>
  
  
  <h4 id="MongoDB_Entities_Watcher_1_OnChanges" data-uid="MongoDB.Entities.Watcher`1.OnChanges">OnChanges</h4>
  <div class="markdown level1 summary"><p>This event is fired when the desired types of events have occured. Will have a list of 'entities' that was received as input.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Action&lt;IEnumerable&lt;T&gt;&gt; OnChanges</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Action</span>&lt;<span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MongoDB_Entities_Watcher_1_OnChangesAsync" data-uid="MongoDB.Entities.Watcher`1.OnChangesAsync">OnChangesAsync</h4>
  <div class="markdown level1 summary"><p>This event is fired when the desired types of events have occured. Will have a list of 'entities' that was received as input.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event AsyncEventHandler&lt;IEnumerable&lt;T&gt;&gt; OnChangesAsync</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.AsyncEventHandler-1.html">AsyncEventHandler</a>&lt;<span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MongoDB_Entities_Watcher_1_OnChangesCSD" data-uid="MongoDB.Entities.Watcher`1.OnChangesCSD">OnChangesCSD</h4>
  <div class="markdown level1 summary"><p>This event is fired when the desired types of events have occured. Will have a list of 'ChangeStreamDocuments' that was received as input.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Action&lt;IEnumerable&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt; OnChangesCSD</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Action</span>&lt;<span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MongoDB_Entities_Watcher_1_OnChangesCSDAsync" data-uid="MongoDB.Entities.Watcher`1.OnChangesCSDAsync">OnChangesCSDAsync</h4>
  <div class="markdown level1 summary"><p>This event is fired when the desired types of events have occured. Will have a list of 'ChangeStreamDocuments' that was received as input.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event AsyncEventHandler&lt;IEnumerable&lt;ChangeStreamDocument&lt;T&gt;&gt;&gt; OnChangesCSDAsync</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MongoDB.Entities.AsyncEventHandler-1.html">AsyncEventHandler</a>&lt;<span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">MongoDB.Driver.ChangeStreamDocument</span>&lt;T&gt;&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MongoDB_Entities_Watcher_1_OnError" data-uid="MongoDB.Entities.Watcher`1.OnError">OnError</h4>
  <div class="markdown level1 summary"><p>This event is fired when an exception is thrown in the change-stream.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Action&lt;Exception&gt; OnError</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Action</span>&lt;<span class="xref">System.Exception</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MongoDB_Entities_Watcher_1_OnStop" data-uid="MongoDB.Entities.Watcher`1.OnStop">OnStop</h4>
  <div class="markdown level1 summary"><p>This event is fired when the internal cursor get closed due to an 'invalidate' event or cancellation is requested via the cancellation token.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event Action OnStop</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Action</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            Developed by <a href='https://github.com/dj-nitehawk'>Đĵ ΝιΓΞΗΛψΚ</a> and <a href='https://github.com/dj-nitehawk/MongoDB.Entities/graphs/contributors'>contributors</a> / Licensed under <a href='https://github.com/dj-nitehawk/MongoDB.Entities/blob/master/LICENSE'>MIT</a> / Website generated by <a href='https://dotnet.github.io/docfx/'>DocFX</a>
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
